import BasicLayout from '@/layouts/basic-layout'

const meta = {
  auth: true
}

const pre = 'videos-'

export default {
  path: '/videos',
  name: 'videos',
  redirect: {
    name: `${pre}index`
  },
  meta,
  component: BasicLayout,
  children: [
    {
      path: 'index',
      name: `${pre}index`,
      meta: {
        ...meta,
        title: '视频列表',
      },
      component: () => import('@/pages/videos/index')
    }
  ]
}